home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / ahmsyscm / _setup.1 / AHMTFileExecute.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-11-12  |  2.3 KB  |  70 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1998 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'AHMTFileExecute.pas' rev: 3.00
  6.  
  7. #ifndef AHMTFileExecuteHPP
  8. #define AHMTFileExecuteHPP
  9. #include <AHMSystem.hpp>
  10. #include <Forms.hpp>
  11. #include <ShellAPI.hpp>
  12. #include <Classes.hpp>
  13. #include <Messages.hpp>
  14. #include <Windows.hpp>
  15. #include <SysUtils.hpp>
  16. #include <SysInit.hpp>
  17. #include <System.hpp>
  18.  
  19. //-- user supplied -----------------------------------------------------------
  20.  
  21. namespace Ahmtfileexecute
  22. {
  23. //-- type declarations -------------------------------------------------------
  24. enum TAHMExeStyle { osDefault, osOpen, osPrint, osExplore, osNew, osInstall, osEdit, osFind, osTest, 
  25.     osConfigure, osPlay };
  26.  
  27. class DELPHICLASS TAHMFileExecute;
  28. class PASCALIMPLEMENTATION TAHMFileExecute : public Ahmsystem::TAHMExecuteComponent 
  29. {
  30.     typedef Ahmsystem::TAHMExecuteComponent inherited;
  31.     
  32. private:
  33.     System::AnsiString FFilename;
  34.     System::AnsiString FExePath;
  35.     System::AnsiString FExeParameters;
  36.     TWindowState FWindowstate;
  37.     TAHMExeStyle FExeStyle;
  38.     System::AnsiString FExeStyleString;
  39.     Word FMode;
  40.     bool FWait;
  41.     void __fastcall SetWindowstate(Forms::TWindowState Value);
  42.     void __fastcall SetExeStyle(TAHMExeStyle Value);
  43.     
  44. public:
  45.     __fastcall virtual TAHMFileExecute(Classes::TComponent* AOwner);
  46.     virtual bool __fastcall Execute(void);
  47.     
  48. __published:
  49.     __property About ;
  50.     __property System::AnsiString Filename = {read=FFilename, write=FFilename};
  51.     __property System::AnsiString ExeParameters = {read=FExeParameters, write=FExeParameters};
  52.     __property TAHMExeStyle ExeStyle = {read=FExeStyle, write=SetExeStyle, default=0};
  53.     __property System::AnsiString ExePath = {read=FExePath, write=FExePath};
  54.     __property bool Wait = {read=FWait, write=FWait, default=0};
  55.     __property Forms::TWindowState Windowstate = {read=FWindowstate, write=SetWindowstate, default=0};
  56. public:
  57.         
  58.     /* TComponent.Destroy */ __fastcall virtual ~TAHMFileExecute(void) { }
  59.     
  60. };
  61.  
  62. //-- var, const, procedure ---------------------------------------------------
  63.  
  64. }    /* namespace Ahmtfileexecute */
  65. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  66. using namespace Ahmtfileexecute;
  67. #endif
  68. //-- end unit ----------------------------------------------------------------
  69. #endif    // AHMTFileExecute
  70.